feat: add Hydrex Base MCP plugin#90
Conversation
…L.md to include new hydrex plugin
- Replace all http://hydrex-agent.com:3000 references with https://hydrex-agent.com - Update allowlist from [] to [hydrex-agent.com] to request web_request allowlisting Co-authored-by: Cursor <cursoragent@cursor.com>
feat: add Hydrex Base MCP plugin
🟡 Heimdall Review Status
|
|
|
||
| --- | ||
|
|
||
| ### GET /prepare/add-liquidity |
There was a problem hiding this comment.
how does the agent get the pool's contract address?
|
|
||
| ``` | ||
| 1. get_wallets → address | ||
| 2. GET /state/positions?address=<address> → show existing positions for context |
There was a problem hiding this comment.
what is the user doesn't have a position?
There was a problem hiding this comment.
Remove from SKILL.md, we'll add it later
|
Thanks again for putting this together, @CottonEyeBro. One operational note: this PR includes one or more commits that GitHub marks as unverified. We require verified commits for external plugin submissions so we can rely on GitHub signature and provenance checks before merging code into base/skills. Could you please open a new PR with verified commits? I cannot merge this PR as-is. Thank you. |
|
@youssefea thanks so much for the comments and feedback! Closing in favor of #106 , which re-submits this plugin from a clean branch with verified commits per the review note. All earlier feedback is addressed there — |
Summary
This PR adds a plugin for Hydrex, an Omni-Liquidity MetaDEX on Base that delivers the best swap rates on Base and supports concentrated liquidity position management.
What This Adds
skills/base-mcp/plugins/hydrex.md— a completesend_calls-based plugin covering:Infrastructure
The plugin is backed by a dedicated prepare server hosted at
https://hydrex-agent.com, built on the hydrex-base-mcp Express server running against Base mainnet (chainId: 8453).Allowlist Request
Please add
hydrex-agent.comto theweb_requestallowlist so the plugin works natively on Claude.ai and ChatGPT consumer surfaces. On harness surfaces the plugin works today via direct HTTP tool calls without allowlisting.Endpoints
GET /healthGET /state/quoteGET /state/portfolioGET /state/positionsGET /state/trade-historyGET /prepare/swapGET /prepare/add-liquidityGET /prepare/remove-liquidityAll prepare endpoints return a
transactions[]array ready to pass directly tosend_calls.Testing
Health check:
{"ok":true,"service":"hydrex-base-skill-server","chainId":8453}Sample quote — 10 USDC → WETH: